c_ = sparse(23,1);
c_(1) = -1;
b_ = sparse(20,1);
b_(5:5) = b1;
b_(10:10) = b2;
b_(15:15) = b3;
b_(20:20) = b4;
A_ = sparse(20, 23);
A_(1:1, 6:6) = 1.0; A_(1:1, 2:2) = 1.0; A_(1:1, 7:7) = -1.0;
A_(2:2, 8:8) = 1.0; A_(2:2, 9:9) = 1.0; A_(2:2, 6:6) = -1.0;
A_(3:3, 10:11) = a1t; A_(3:3, 8:8) = -1.0;
A_(4:4, 1:1) = na1; A_(4:4, 9:9) = -1.0;
A_(5:5, 7:7) = 1.0;
A_(6:6, 12:12) = 1.0; A_(6:6, 3:3) = 1.0; A_(6:6, 13:13) = -1.0;
A_(7:7, 14:14) = 1.0; A_(7:7, 15:15) = 1.0; A_(7:7, 12:12) = -1.0;
A_(8:8, 10:11) = a2t; A_(8:8, 14:14) = -1.0;
A_(9:9, 1:1) = na2; A_(9:9, 15:15) = -1.0;
A_(10:10, 13:13) = 1.0;
A_(11:11, 16:16) = 1.0; A_(11:11, 4:4) = 1.0; A_(11:11, 17:17) = -1.0;
A_(12:12, 18:18) = 1.0; A_(12:12, 19:19) = 1.0; A_(12:12, 16:16) = -1.0;
A_(13:13, 10:11) = a3t; A_(13:13, 18:18) = -1.0;
A_(14:14, 1:1) = na3; A_(14:14, 19:19) = -1.0;
A_(15:15, 17:17) = 1.0;
A_(16:16, 20:20) = 1.0; A_(16:16, 5:5) = 1.0; A_(16:16, 21:21) = -1.0;
A_(17:17, 22:22) = 1.0; A_(17:17, 23:23) = 1.0; A_(17:17, 20:20) = -1.0;
A_(18:18, 10:11) = a4t; A_(18:18, 22:22) = -1.0;
A_(19:19, 1:1) = na4; A_(19:19, 23:23) = -1.0;
A_(20:20, 21:21) = 1.0;
G_ = sparse(4, 23);
G_(1:1:1, 2:2) = -speye(1, 1);
G_(2:1:2, 3:3) = -speye(1, 1);
G_(3:1:3, 4:4) = -speye(1, 1);
G_(4:1:4, 5:5) = -speye(1, 1);
h_ = zeros(4, 1);
dims.q = [];
dims.l = 4;
[x_codegen, y_, info_] = conelp(full(c_), G_, h_, dims, A_, full(b_));
r = x_codegen(1:1);
t3 = x_codegen(2:2);
t7 = x_codegen(3:3);
t11 = x_codegen(4:4);
t15 = x_codegen(5:5);
t1 = x_codegen(6:6);
pb1 = x_codegen(7:7);
t0 = x_codegen(8:8);
t2 = x_codegen(9:9);
x = x_codegen(10:11);
t5 = x_codegen(12:12);
pb2 = x_codegen(13:13);
t4 = x_codegen(14:14);
t6 = x_codegen(15:15);
t9 = x_codegen(16:16);
pb3 = x_codegen(17:17);
t8 = x_codegen(18:18);
t10 = x_codegen(19:19);
t13 = x_codegen(20:20);
pb4 = x_codegen(21:21);
t12 = x_codegen(22:22);
t14 = x_codegen(23:23);
ecos_optval = -1*info_.pcost;
